/*----------------------------------*/
/* LS Weathered v1.6a by /u/DudleyC */
/*----------------------------------*/

 + About:

For use with LockHTML 2. It was designed in
mind for minimal type lock screens. For best
results, use in conjuction with
"Clear The Air" by mkn0dat and
"LockStatusHide" by Max Katzmann. Both of
these packages are available on BigBoss.

Uses images from
"LS Climacons" by KillingTheEngine.



 + Installation:

1. In LockHTML 2 settings, choose
LS Weathered.

2. Configure your theme settings (see below).

2. Enable Smart LSClock Hide.



 + Weather Settings:

Weather settings are now accessible upon
selecting LS Weathered in LockHTML 2. You can
also hard set these settings via the
insructions below:

Using a text editor, open up
"UserSettings.js". iFile has a text editor
built-in.  Here you will find the following
(near top of page):

var locale = "USCA0987"

Change this value to the weather code for your
locale. Go to weather.com and search for your
town. On the page that displays your town's
weather, copy the eight digit weather code in
the URL (should be similiar to the example
above). MAKE SURE TO SEARCH BY CITY AND STATE,
NOT ZIP CODE. Searching by zip code will
return an alternate URL without the correct
weather code.

var isCelsius = false;

Set to true for Celsius. False for Fahrenheit.

var updateInterval = 60

Determines how often the weather is pulled in
minutes.

The other settings are pretty
self-explainatory.



 + Style Settings:

Style settings are now accessible upon
selecting LS Weathered in LockHTML 2. You can
also hard set these settings via the
insructions below:

Using a text editor, open up "UserStyle.css".
iFile has a text editor built-in. Here you can
modify the font color/style, the color of the
boxes, and their border radius. Further
instruction is found inside.



 + Version History:

v1.6a  - Fixed text shadow not getting styled
         correctly and added toggle to disable
         completely.

v1.6  - Added option for a static Background
        image as requested by /u/illdank!

v1.5a - Added a function that modifies the
        weather icon opacity to be the same as
        text alpha.

v1.5  - New "Theme Settings" which allows
       configuration straight from LockHTML 2.
       Also added additional settings for
       further customization.

v1.4  - This version and versions prior are
       unreleased.

v1.2a - Updated readme.

v1.2  - Many changes were made. Major changes
       include: third lock screen style,
       option for 12-hour clock (finally), and
       additional style settings.

v1.1b - Reformatted various files to fit
        iFile's text editor view.

v1.1a - Added setting for adjusting
        text-shadow.

v1.1  - Code and file structure has been
       cleaned up. Also added "Style Settings"
       to give users more control over visual
       aspects.

v1.0  - Completely revamped. LS Weathered is
       now an independent lockscreen.
	   
v0.9  - This version and versions prior are
       unreleased.

v0.3  - Updated readme with further local
       information.

v0.2  - Fixed a few themes that were using an
       "uglier" code.

v0.1  - Initial release.